package org.metasketch.simulator.configuration.loaders;

import java.util.ArrayList;
import java.util.List;

import org.metasketch.simulator.tools.generic.Variable;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("simple-transaction")
public class SimpleTransaction extends Transaction {

	@XStreamAsAttribute
	@XStreamAlias("arrival-expression")
	String arrivalExpression;

	List<Variable> variables = new ArrayList<Variable>();

	public String getArrivalExpression() {
		return arrivalExpression;
	}

	public void setArrivalExpression(String arrivalExpression) {
		this.arrivalExpression = arrivalExpression;
	}

	public List<Variable> getVariables() {
		return variables;
	}

	public void setVariables(List<Variable> variables) {
		this.variables = variables;
	}

}
